package com.example.ssmxuankeback.interfaces;

import com.example.ssmxuankeback.dto.CourseDTO;
import com.example.ssmxuankeback.entity.Course;
import com.example.ssmxuankeback.vo.CourseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ICourseMapper {
    ICourseMapper INSTANCT = Mappers.getMapper(ICourseMapper.class);
    Course dtoToEntity(CourseDTO courseDTO);
    CourseVO entityToVO(Course course);
}
